<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<a href="http://127.0.0.1:8000/test_url_result">绝对地址</a>
<a href="/test_url_result">带斜杆相对地址</a>
<a href="test_url_result">不带斜杆地址</a>

<br>
<a href="{% url 'tr' %}">url反向解析</a>

</body>
</html>